package common.base.util.constant;

import java.util.HashMap;
import java.util.Map;

@SuppressWarnings("unchecked")
public class ResMes {
	public static final String CODE_SUCCESS = "000000"; //操作成功状态码
	public static final String CODE_NO_DATA = "100000"; //查询结果为空状态码
	public static final String CODE_WRONG_PARA = "400000"; //查询参数有误状态码
	
	public static final String TEXT_SUCCESS = "操作成功"; //操作成功
	public static final String TEXT_NO_DATA = "查询结果为空"; //查询结果为空
	public static final String TEXT_WRONG_PARA = "查询参数有误"; //查询参数有误
	
	@SuppressWarnings("rawtypes")
	public static final Map RES_MES_MAP=new HashMap();
	static{
		RES_MES_MAP.put(CODE_SUCCESS, TEXT_SUCCESS);
		RES_MES_MAP.put(CODE_NO_DATA, TEXT_NO_DATA);
		RES_MES_MAP.put(CODE_WRONG_PARA, TEXT_WRONG_PARA);
	}
}
